package cn.wlbw.controller;

import act.ws.WebSocketConnectionManager;
import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONUtil;
import org.osgl.mvc.annotation.GetAction;

public class OkController extends Global {

    @GetAction("data/navs.json")
    public JSONArray send(WebSocketConnectionManager connectionManager) {
        String jsonStr = "[\n" +
                "  {\n" +
                "    \"title\": \"控制台\",\n" +
                "    \"href\": \"pages/console.html\",\n" +
                "    \"fontFamily\": \"ok-icon\",\n" +
                "    \"icon\": \"&#xe654;\",\n" +
                "    \"spread\": true,\n" +
                "    \"isCheck\": true\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"控制台示例\",\n" +
                "    \"href\": \"\",\n" +
                "    \"fontFamily\": \"ok-icon\",\n" +
                "    \"icon\": \"&#xe6b8;\",\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"控制台一\",\n" +
                "        \"href\": \"pages/console1.html\",\n" +
                "        \"icon\": \"&#xe68e;\"\n" +
                "      }\n" +
                "    ]\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"框架使用\",\n" +
                "    \"fontFamily\": \"ok-icon\",\n" +
                "    \"icon\": \"ok-icon-yooxi\",\n" +
                "    \"spread\": false,\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"字体图标\",\n" +
                "        \"href\": \"pages/help/ok_font.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"插件目录\",\n" +
                "        \"href\": \"pages/help/plug_directory.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"内部添加导航\",\n" +
                "        \"href\": \"pages/help/nav_operate\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"导航的图标\",\n" +
                "        \"href\": \"pages/help/nav_icon.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"导航的参数\",\n" +
                "        \"href\": \"pages/help/nav_parameter.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okUtils\",\n" +
                "        \"href\": \"pages/help/okUtils.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okLayer\",\n" +
                "        \"href\": \"pages/help/okLayer.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okFly\",\n" +
                "        \"href\": \"pages/help/okFly.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      }\n" +
                "\n" +
                "    ]\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"会员管理\",\n" +
                "    \"href\": \"\",\n" +
                "    \"icon\": \"&#xe66f;\",\n" +
                "    \"spread\": false,\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"用户列表\",\n" +
                "        \"href\": \"pages/member/user.html\",\n" +
                "        \"fontFamily\": \"layui-icon\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"角色列表\",\n" +
                "        \"href\": \"pages/member/role.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"权限列表\",\n" +
                "        \"href\": \"pages/member/permission\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      }\n" +
                "    ]\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"图表管理\",\n" +
                "    \"href\": \"\",\n" +
                "    \"icon\": \"&#xe62c;\",\n" +
                "    \"spread\": false,\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"地图\",\n" +
                "        \"fontFamily\": \"ok-icon\",\n" +
                "        \"icon\": \"&#xe882;\",\n" +
                "        \"spread\": false,\n" +
                "        \"children\": [\n" +
                "          {\n" +
                "            \"title\": \"中国地图\",\n" +
                "            \"href\": \"pages/chart/chart-china.html\",\n" +
                "            \"icon\": \"&#xe62e;\",\n" +
                "            \"spread\": false\n" +
                "          },\n" +
                "          {\n" +
                "            \"title\": \"区域地图\",\n" +
                "            \"href\": \"pages/chart/chart-area.html\",\n" +
                "            \"icon\": \"&#xe62e;\",\n" +
                "            \"spread\": false\n" +
                "          }\n" +
                "        ]\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"数据图\",\n" +
                "        \"fontFamily\": \"ok-icon\",\n" +
                "        \"icon\": \"ok-icon-shuju1\",\n" +
                "        \"spread\": false,\n" +
                "        \"children\": [\n" +
                "          {\n" +
                "            \"title\": \"统计图\",\n" +
                "            \"href\": \"pages/chart/chart1.html\",\n" +
                "            \"icon\": \"&#xe62e;\",\n" +
                "            \"spread\": false\n" +
                "          },\n" +
                "          {\n" +
                "            \"title\": \"折线图\",\n" +
                "            \"href\": \"pages/chart/chart2.html\",\n" +
                "            \"icon\": \"&#xe62e;\",\n" +
                "            \"spread\": false\n" +
                "          },\n" +
                "          {\n" +
                "            \"title\": \"馅饼图\",\n" +
                "            \"href\": \"pages/chart/chart4.html\",\n" +
                "            \"icon\": \"&#xe62e;\",\n" +
                "            \"spread\": false\n" +
                "          },\n" +
                "          {\n" +
                "            \"title\": \"圆形图\",\n" +
                "            \"href\": \"pages/chart/chart5.html\",\n" +
                "            \"icon\": \"&#xe62e;\",\n" +
                "            \"spread\": false\n" +
                "          },\n" +
                "          {\n" +
                "            \"title\": \"指数图\",\n" +
                "            \"href\": \"pages/chart/chart6.html\",\n" +
                "            \"icon\": \"&#xe62e;\",\n" +
                "            \"spread\": false\n" +
                "          }\n" +
                "        ]\n" +
                "      }\n" +
                "    ]\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"常用页面\",\n" +
                "    \"href\": \"\",\n" +
                "    \"icon\": \"&#xe705;\",\n" +
                "    \"spread\": false,\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"复杂表单一\",\n" +
                "        \"href\": \"pages/often/form-complex1.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"复杂表单二\",\n" +
                "        \"href\": \"pages/often/form-complex2.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"文章列表\",\n" +
                "        \"href\": \"pages/often/article.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"留言列表\",\n" +
                "        \"href\": \"pages/often/message.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"产品列表\",\n" +
                "        \"href\": \"pages/often/product.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"下载列表\",\n" +
                "        \"href\": \"pages/often/download.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"链接列表\",\n" +
                "        \"href\": \"pages/often/link.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"任务列表\",\n" +
                "        \"href\": \"pages/often/task.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"图片列表\",\n" +
                "        \"href\": \"pages/often/image.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"帖子列表\",\n" +
                "        \"href\": \"pages/often/bbs.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      }\n" +
                "    ]\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"系统管理\",\n" +
                "    \"href\": \"\",\n" +
                "    \"fontFamily\": \"ok-icon\",\n" +
                "    \"icon\": \"&#xe68a;\",\n" +
                "    \"spread\": false,\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"系统设置\",\n" +
                "        \"href\": \"pages/system/setup.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"日志列表\",\n" +
                "        \"href\": \"pages/system/log.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"屏蔽词\",\n" +
                "        \"href\": \"pages/system/shield.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"登录页面\",\n" +
                "        \"href\": \"pages/login.html\",\n" +
                "        \"icon\": \"&#xe609;\",\n" +
                "        \"spread\": false,\n" +
                "        \"target\": \"_blank\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"403页面\",\n" +
                "        \"href\": \"pages/system/403.html\",\n" +
                "        \"icon\": \"&#xe61c;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"404页面\",\n" +
                "        \"href\": \"pages/system/404.html\",\n" +
                "        \"icon\": \"&#xe61c;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"500页面\",\n" +
                "        \"href\": \"pages/system/500.html\",\n" +
                "        \"icon\": \"&#xe61c;\",\n" +
                "        \"spread\": false\n" +
                "      }\n" +
                "    ]\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"文本编辑\",\n" +
                "    \"href\": \"\",\n" +
                "    \"icon\": \"&#xe636;\",\n" +
                "    \"spread\": false,\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"wangEditor\",\n" +
                "        \"href\": \"pages/txtedit/wangEditor.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"CKEditor\",\n" +
                "        \"href\": \"pages/txtedit/CKEditor.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"layedit\",\n" +
                "        \"href\": \"pages/txtedit/layedit.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      }\n" +
                "    ]\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"数据表格\",\n" +
                "    \"href\": \"\",\n" +
                "    \"icon\": \"&#xe62d;\",\n" +
                "    \"spread\": false,\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"Datatables\",\n" +
                "        \"href\": \"pages/datatable/datatables.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"bsgrid\",\n" +
                "        \"href\": \"pages/datatable/bsgrid.html\",\n" +
                "        \"icon\": \"&#xe62e;\",\n" +
                "        \"spread\": false\n" +
                "      }\n" +
                "    ]\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"多级导航\",\n" +
                "    \"fontFamily\": \"ok-icon\",\n" +
                "    \"icon\": \"&#xe7a7;\",\n" +
                "    \"spread\": false,\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"购物网站\",\n" +
                "        \"href\": \"\",\n" +
                "        \"icon\": \"&#xe658;\",\n" +
                "        \"spread\": false,\n" +
                "        \"children\": [\n" +
                "          {\n" +
                "            \"title\": \"京东\",\n" +
                "            \"href\": \"https://www.jd.com\",\n" +
                "            \"icon\": \"&#xe600;\",\n" +
                "            \"spread\": false\n" +
                "          },\n" +
                "          {\n" +
                "            \"title\": \"苏宁\",\n" +
                "            \"href\": \"https://www.suning.com\",\n" +
                "            \"icon\": \"&#xe600;\",\n" +
                "            \"spread\": false\n" +
                "          },\n" +
                "          {\n" +
                "            \"title\": \"阿里\",\n" +
                "            \"href\": \"\",\n" +
                "            \"icon\": \"&#xe658;\",\n" +
                "            \"spread\": false,\n" +
                "            \"children\": [\n" +
                "              {\n" +
                "                \"title\": \"淘宝\",\n" +
                "                \"href\": \"https://www.taobao.com\",\n" +
                "                \"icon\": \"&#xe600;\",\n" +
                "                \"spread\": false\n" +
                "              },\n" +
                "              {\n" +
                "                \"title\": \"天猫\",\n" +
                "                \"href\": \"https://www.tmall.com\",\n" +
                "                \"icon\": \"&#xe658;\",\n" +
                "                \"spread\": false,\n" +
                "                \"children\": [\n" +
                "                  {\n" +
                "                    \"title\": \"天猫超市\",\n" +
                "                    \"href\": \"https://chaoshi.tmall.com\",\n" +
                "                    \"icon\": \"&#xe600;\",\n" +
                "                    \"spread\": false\n" +
                "                  },\n" +
                "                  {\n" +
                "                    \"title\": \"天猫电器\",\n" +
                "                    \"href\": \"https://3c.tmall.com\",\n" +
                "                    \"icon\": \"&#xe600;\",\n" +
                "                    \"spread\": false\n" +
                "                  }\n" +
                "                ]\n" +
                "              }\n" +
                "            ]\n" +
                "          }\n" +
                "        ]\n" +
                "      }\n" +
                "    ]\n" +
                "  },\n" +
                "  {\n" +
                "    \"title\": \"第三方库\",\n" +
                "    \"icon\": \"&#xe674;\",\n" +
                "    \"children\": [\n" +
                "      {\n" +
                "        \"title\": \"jquery.okQrcode.js\",\n" +
                "        \"href\": \"pages/tripartite/qrcode.html\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"jquery.okCountup.js\",\n" +
                "        \"href\": \"pages/tripartite/countup.html\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okCookie\",\n" +
                "        \"href\": \"pages/tripartite/okCookie.html\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okToastr\",\n" +
                "        \"href\": \"pages/tripartite/okToastr.html\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okMd5\",\n" +
                "        \"href\": \"pages/tripartite/okMd5.html\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okBarcode\",\n" +
                "        \"href\": \"pages/tripartite/okBarcode.html\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okNprogress\",\n" +
                "        \"href\": \"pages/tripartite/okNprogress.html\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okSweetAlert2\",\n" +
                "        \"href\": \"pages/tripartite/okSweetAlert2.html\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okAnimate\",\n" +
                "        \"href\": \"pages/tripartite/okAnimate.html\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"title\": \"okLayx\",\n" +
                "        \"href\": \"pages/tripartite/okLayx.html\"\n" +
                "      }\n" +
                "    ]\n" +
                "  }\n" +
                "]\n";
        return JSONUtil.parseArray(jsonStr);
    }
}
